package com.dwy2002.pojo.po.product;

import com.dwy2002.pojo.po.base.BaseDeleted;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 商品评价实体类
 *
 * @author 杜伟毅
 * @version 1.0
 * @since 2025/02/17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class ProductReviews extends BaseDeleted {
    /**
     * 关联的产品 ID
     */
    private String productId;
    /**
     * 评价用户的 ID
     */
    private String userId;
    /**
     * 评价的评分
     */
    private Integer rating;
    /**
     * 评价的具体内容
     */
    private String comment;
}
